// const Error404 = () =>
//     import ('@/views/Error404.vue');

const modulesARoutes = [{
        path: '/404',
        name: 'Error404',
        component: () =>
            import ( /* webpackChunkName: "err404" */ '@/views/sys/Error404.vue')
    }, {
        path: '/401',
        name: 'Error401',
        component: () =>
            import ( /* webpackChunkName: "err401" */ '@/views/sys/Error401.vue')
    },
    {
        path: '/:pathMatch(.*)*',
        redirect: '/404'
    }
]

export default modulesARoutes;